import {request} from '@/utils/request'
export function getApplyList(params) {
    return request({
        url: '/api/fizz-manager/blade-aggregate-apply/listApply',
        method: 'get',
        params
    })
}
export function getSubApplyList(params) {
    return request({
        url: '/api/fizz-manager/blade-aggregate-config/aggregateconfig/list',
        method: 'get',
        params
    })
}
export function getApprovalUser(data) {
    return request({
        url: '/api/fizz-manager/blade-aggregate-apply/getApprovalUsers',
        method: 'post',
        data
    })
}
export function save(data) {
    return request({
        url: '/api/fizz-manager/blade-aggregate-apply/save',
        method: 'post',
        data
    })
}
export function getApplyConfigList(id) {
    return request({
        url: `/api/fizz-manager/blade-aggregate-apply-config-op-log/list/${id}`,
        method: 'get',
    })
}
export function getApplyDetail(id) {
    return request({
        url: `/api/fizz-manager/blade-aggregate-apply/detail/${id}`,
        method: 'get',
    })
}
// 获取修改审核人员下拉框数据
export function getApplyUser(data) {
    return request({
        url: `/api/fizz-manager/blade-aggregate-apply/getApprovalUsers`,
        method: 'post',
        data
    })
}
// 修改审核人员数据
export function changeApprovalUser(data) {
    return request({
        url: `/api/fizz-manager/blade-aggregate-apply/change-approval-user`,
        method: 'post',
        data
    })
}
// 撤回
export function revoke(id) {
    return request({
        url: `/api/fizz-manager/blade-aggregate-apply/revoke/${id}`,
        method: 'post',
    })
}


